Skip to content

Conversation

@alecgibson
Copy link
Collaborator

Now that deleted is a Date, we can add a TTL index to it. This change adds an optional expireAfterSeconds option, which is passed through to the deleted index options if set to a number.

Now that `deleted` is a `Date`, we can add a TTL index to it. This
change adds an optional `expireAfterSeconds` option, which is passed
through to the `deleted` index options if set to a `number`.
@alecgibson alecgibson merged commit 6133fc9 into main Feb 14, 2025
2 checks passed
@alecgibson alecgibson deleted the ttl-option branch February 14, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants